WARNING: This program has a serious logic error. It is currently possible to get stuck in an infinite loop!
An infinite loop happens when the condition of a while loop is never False. It may seem harmless, but this can actually cause serious problems! An infinite loop could crash your program, browser, or even computer!
- IMPORTANT: Use the Stop button to stop a program that is stuck in an infinite loop.
- Fix the infinite loop by moving the line with .ask() inside the loop before the conditionals.
To navigate the page using the TAB key, first press ESC to exit the code editor.